﻿using BunnyEater.Domain.Base;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BunnyEater.Domain.Traceable
{
    /// <summary>
    /// 物料表
    /// </summary>
    [Table("Material")]
    public class Material: BaseEntity
    {
        /// <summary>
        /// 商品名称
        /// </summary>
        public string? CommodityName { get; set; }
        /// <summary>
        /// 生产批次
        /// </summary>
        public string? ProductionNo { get; set; }
        /// <summary>
        /// 保质期
        /// </summary>
        public int Shelflife { get; set; }
        /// <summary>
        /// 生产许可证号
        /// </summary>
        public string? ProdLicense { get; set; }
        /// <summary>
        /// 生产企业Id
        /// </summary>
        public string? ProdCompanieId { get; set; }
    }
}
